package com.mezz.bones.im.logic.strategy.impl;

import com.alibaba.fastjson.JSON;
import com.mezz.bones.im.logic.notify.domain.request.PrivateMessageBeforeSendRequest;
import com.mezz.bones.im.logic.notify.domain.response.PrivateMessageBeforeSendResponse;
import com.mezz.bones.im.logic.strategy.IImCallbackStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class AfterMessageCreateStrategy implements IImCallbackStrategy {
    
    @Override
    public String tag() {
        return PRIVATE_MESSAGE_AFTER_SEND;
    }

    @Override
    public Object process(String body) {

        log.info("消息发送后回调, body: {}", body);
        //消息自动回复
        //用户消息要通过ws连接推送会话数据

        return null;
    }
}